<%@page import="com.dts.project.dao.ProductDetailsDao"%>
<%@page import="com.dts.core.util.CoreList"%>
<%@page import="java.util.Enumeration"%>
<%@page import="com.yourcompany.struts.form.ProductDetailsForm"%> 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/transitional.dtd">
<html>
<head>
<style>
body,td,th {
	color: #B00606;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
body {
	background-color: #003333;
}
.style3 {color: #FFFFFF}
</style>

<title>e-PostOffice</title>
<script type="text/javascript" src="scripts/moveclock.js"></script>


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /></head>
<body>
<table width="750" align="center" bgcolor="#B00606">
<tr><td>
<img src="images/epostoffice.gif" width="780"></td>
</tr>
<tr>
   <td bgcolor="#E16A00"><jsp:include page="generalOptions.jsp"/></td></tr>
<tr><td>
<%--<div align="center">--%>
<%--<table bgcolor="#B00606" width="750" align="center">--%>
<%--<tr>--%>
<%--   <td><jsp:include page="Template.html"/></td></tr></table></div>--%>
<div align="center">
<table bgcolor="#B00606" width="770" align="center" height="70">
<tr>
   <td>
   
   <marquee><font color="#ECEDF3"><h1>WELCOME TO THE E-POST OFFICE</h1></marquee>
<marquee> <img src="images/IndianStamps.gif" height="100"><img src="images/ist2_1276217-vintage-indian-stamps-ephemera.jpg" height="100"><img src="images/images.jpeg" height="100"><img src="images/images1.jpeg" height="100"><img src="images/stamp price.jpg" height="100"><img src="images/2007-03-28-sw-stamps.jpg" height="100"><img src="images/6a00d83452795369e200e5506182958834-500wi.jpg" height="100"><img src="images/stamp-avocet.JPG" height="100"></marquee>
   <p align="center" class="style3">
   <center class="style3">
     
 <%if(request.getParameter("status")!=null){ %>
 <%=request.getParameter("status")%> <%} %>
 <h2><font color="White">Product Item Details</font></h2>
 <form action="deleteProductDetailsAction.do" method="post">
 <%
 
 try
 {
 String storepath=request.getRealPath("/images");
 ProductDetailsDao dao=new ProductDetailsDao();
 CoreList cl=(CoreList)request.getAttribute("viewProductsDetails");
 Enumeration en=cl.elements();
 %>
 <table align="center" border=1>
 <tr bgcolor="#FFFFFF">
<td><div align="center"><strong>Country Name</strong></div></td>      
<td><div align="center"><strong>Product Name</strong></div></td>      

 <td><div align="center"><strong>Item Name</strong></div></td>   
 <td><div align="center"><strong>ItemRegDate</strong></div></td>  
    
<td><div align="center"><strong>Item Img</strong></div></td>      
<td><div align="center"><strong>Item Video</strong></div></td>
<td><div align="center"><strong>Item Desc</strong></div></td>       
<td><div align="center"><strong>Price</strong></div></td>
 </tr>          
 <%while(en.hasMoreElements())
 {
 ProductDetailsForm form=(ProductDetailsForm)en.nextElement();
  %>
  <tr bgcolor="#666666">
 <td><span class="style3"><strong><%=form.getCountryname() %></strong></span></td>
  <td><span class="style3"><strong><%=form.getProductname() %></strong></span></td>
  <td><strong><span class="style3"><%=form.getItemName() %></span></strong></td>
  <td><span class="style3"><strong><%=form.getItemRegDate() %></strong></span></td>
  <td><img src="images/<%=form.getItemImage() %>" width=50 height=50></td>
  <td><span class="style3"><strong><a href="generlalWindowsMediaPlayer.jsp?videofile=<%=form.getItemLaunchVideo() %>">Play</a></strong></span></td>
  <td><span class="style3"><strong><%=form.getItemDesc() %></strong></span></td>
  <td><span class="style3"><strong><%=form.getPrice() %></strong></span></td></tr>
  <%}}catch(Exception e)
  {
  e.printStackTrace();
  }
   %>
   </table>
    </center>     </td></tr>
</table>
          <p>&nbsp;</p>
               <p>&nbsp;</p>
                    <p>&nbsp;</p>
                         
           <p>&nbsp;</p>
               <p>&nbsp;</p>
                    <p>&nbsp;</p>
                         
           <p>&nbsp;</p>
             
                         
                              
     <p>&nbsp;</p></div>


</body></html>